import { createApp } from 'vue'
import App from './App.vue'
import { createPinia } from 'pinia'
// 导入全局样式表
import "./assets/css/global.css";
// 导入字体图标
import "./assets/fonts/iconfont.css";
import router from "@/router";
//注册所有图标
import * as ElementPlusIconsVue from "@element-plus/icons-vue";

const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app.use(createPinia())
app.use(router)
app.mount('#app')
